﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Hotel.Domain;
using System.Configuration;
using HOTEL.Dao;


namespace HOTEL.Dao
{
   public class BaseDAO
    {
       protected HotelDataContext _db;
       public static readonly String connectionstring = ConfigurationManager.AppSettings["hotelmanager"];// de tiện sau này Hải nên dùng biến const
       public BaseDAO()
       {
            _db = new HotelDataContext(connectionstring);
       }

    }
}
